<!-- 添加弹窗 -->
<th:block th:fragment="add">
<div class="modal-dialog">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal"
				aria-hidden="true">&times;</button>
			<h4 class="modal-title" id="myModalLabel">添加</h4>
		</div>
		<div class="modal-body">
			<form class="form-horizontal" role="form" method="post" id="addForm" 
				th:action="@{/${camelModelName}/insert}">
				<#list columnList as column>
				<div class="form-group">
					<label for="${column}" class="col-sm-2 control-label">${column}</label>
						<div class="col-sm-10">
							<input type="text" name="${column}" class="form-control"
								placeholder="请输入......"/>
						</div>
					</div>
				</#list>
				<div class="form-group" style='margin: 0px;'>
					<div class="modal-footer"
						style='padding: 20px 0px; border-top: 0px'>
						<button type="submit" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="submit" class="btn btn-primary">提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
</th:block>